]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
panel: Start the status area before extensions are loaded
authorGiovanni Campagna <gcampagna@src.gnome.org>
Mon, 22 Aug 2011 21:47:59 +0000 (23:47 +0200)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 25 Aug 2011 17:35:49 +0000 (13:35 -0400)
The order of indicators depends on the order of calls to
Panel.addToStatusArea. To have it consistent across enabling and
disabling of extensions, we need to place the core ones first.

https://bugzilla.gnome.org/show_bug.cgi?id=653205

js/ui/main.js

index 5cde5410d50d75671fb9b677c676c22d992c31e4..5b1aef3e5d7b9f3786b45de65a3d28f1f2182e69 100644 (file)
@@ -149,6 +149,7 @@ function start() {
     layoutManager.init();
     overview.init();
     statusIconDispatcher.start(messageTray.actor);
+    panel.startStatusArea();
 
     _startDate = new Date();
 
@@ -188,7 +189,6 @@ function start() {
     ExtensionSystem.init();
     ExtensionSystem.loadExtensions();
 
-    panel.startStatusArea();
     panel.startupAnimation();
 
     global.display.connect('overlay-key', Lang.bind(overview, overview.toggle));